<div ng-form="innerForm"
     ng-class="{ dirty: params.dirty }">
  <i class="edit fa fa-pencil-square"></i>

  <input type="checkbox"
         ng-model="params.value"
         ng-change="submit()"
         ng-required="params.required"
         name="{{ params.name }}"/>
</div>
